package com.lidong.lowcode.model.model.impl;

import com.lidong.lowcode.model.model.TableModelEnum;
import com.lidong.lowcode.model.model.intf.TableModel;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 4/30/2022 12:35 PM
 */
@Component
public class EnumTableModel implements TableModel {

    @Override
    public String getType() {
        return TableModelEnum.ENUMTABLE.getType();
    }

    @Override
    public String getCode() {
        return TableModelEnum.ENUMTABLE.getCode();
    }

    @Override
    public String getName() {
        return TableModelEnum.ENUMTABLE.getName();
    }

    @Override
    public Map<String, String> getParamMap() {
        return null;
    }
}
